SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 34544: ISO time informat B8601TM produces: NOTE: Invalid argument to function INPUT at line column

DetailsCodeResultsAboutRate It

When using ISO time informat B8601TM without an explicit length specification, SAS may use the characters in memory following the variable as part of the input.

    To replicate:
  • specify character variable with length $6
  • specify second character variable with length $2
  • specify informat without length (B8601TM.), default length is 8 in documentation.

The result is:

   NOTE: Invalid argument to function INPUT

The workaround is to specify explicit length when using informat to match the length of the input variable: B8601TM6.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.2 TS1M09.2 TS2M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M09.2 TS2M2
Microsoft Windows XP 64-bit Edition9.2 TS1M09.2 TS2M2
Microsoft® Windows® for x649.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.2 TS2M2
Microsoft Windows XP Professional9.2 TS1M09.2 TS2M2
Windows Vista9.2 TS1M09.2 TS2M2
64-bit Enabled AIX9.2 TS1M09.2 TS2M2
64-bit Enabled HP-UX9.2 TS1M09.2 TS2M2
64-bit Enabled Solaris9.2 TS1M09.2 TS2M2
HP-UX IPF9.2 TS1M09.2 TS2M2
Linux9.2 TS1M09.2 TS2M2
Linux for x649.2 TS1M09.2 TS2M2
OpenVMS on HP Integrity9.2 TS1M09.2 TS2M2
Solaris for x649.2 TS1M09.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.